package edu.xmut.factory.simplefactory.pizza;

/**
 * @author 朔风
 * @date 2024-02-17 13:19
 */
public class CheesePizza extends Pizza{

    String name = "奶酪披萨";

    public CheesePizza(String orderType) {
        this.name = orderType;
    }

    @Override
    public void prepare() {
        System.out.println(name + "准备中...");
    }

    @Override
    public void bake() {
        System.out.println(name + "烘烤中...");
    }

    @Override
    public void cut() {
        System.out.println(name + "切割中...");
    }

    @Override
    public void box() {
        System.out.println(name + "打包中...");
    }
}
